<template>
    <view class="page">
    <view class="uni-flex uni-row">
    <view class="uni-flex uni-column">
    <view>短信开关</view>
    <view><switch checked @change="change" /></view>
    </view>
    <view class="uni-flex uni-column">
    <view>微信开关</view>
    <view><switch checked @change="change" /></view>
    </view>
    <view></view>










        </view>
    <view class="uni-flex uni-column">
    </view>
    </view>
</template>

<script>
	import pageHead from '../../../components/page-head.vue'
    export default {
        data(){ 
            return {
                formdata:{
                    messgeswitch:null,
                    wxswitch:null,

                }

            }

        },
        methods: {
         messagechange:function(e){
            this.messageswitch=e.detail.value;
         },
         wxswitch:function(e){
            this.wxswitch=e.detail.value;
         },
         initData: async function(){
            const res=await getnotice(formdata);
            if(res.success==true){
                this.formdata=res.data.values;
            }
            else {
                
            }
         }
            
            

        }
    }
</script>

<style scoped >
    @import "../../../common/uni.css";
</style>
